package com.aop.service;

import com.aop.domain.entity.OperationLog;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.dto.OperationLogDTO;

/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author 坤哥
 * @since 2025-10-11
 */
public interface IOperationLogService extends IService<OperationLog> {
    /**
     * 保存操作日志
     */
    void saveLog(OperationLogDTO operationLog);

    /**
     * 查询日志列表（分页）
     */
    IPage<OperationLog> getLogList(
            String userName,
            String operationType,
            String operationModule,
            String status,
            String startTime,
            String endTime,
            Integer pageNum,
            Integer pageSize
    );
}
